package api

import (
	request "gitee.com/changeden/volcengine-livesaas-request-go"
)

type UpdateActivityStatusRequest struct {
	ActivityId         *int64 `json:"ActivityId"`
	IsStreamViewEnable *int32 `json:"IsStreamViewEnable"` // 状态1、2已弃用
}

func (instance *Instance) UpdateActivityStatus(data *UpdateActivityStatusRequest) (*NoResultResponse, error) {
	d := request.Data{
		Action: "UpdateActivityStatusAPI",
	}
	bindBody(&d, *data)
	var r NoResultResponse
	err := instance.post(&d, &r)
	return &r, err
}
